#include "pyrwlock.h"
#include <shared_mutex>
void pyrwlock::read_lock() {
	lock.lock_shared();
}
void pyrwlock::read_unlock() {
	lock.unlock_shared();
}
void pyrwlock::write_lock() {
	lock.lock();
}
void pyrwlock::write_unlock() {
	lock.unlock();
}